﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace Axial.Tests
{
	[TestFixture]
	public class BasicTests : TestBase
	{
		[Test]
		public void AddInlineTest()
		{
			VerifyMethodOutput("AddInline", "return 5;");
		}

		public int AddInline()
		{
			return 2 + 3;
		}

		[Test]
		public void VarTest()
		{
			VerifyMethodOutput("Var", 
@"c = a + b;
return c;");
		}

		public int Var()
		{
			int a = 2, b = 3, c;
			c = a + b;
			return c;
		}
	}
}
